package lab01;

/**
 * Created by Administrator on 2017/10/8.
 */
public class Test13 {
    public static void main(String[] args){

        int i,j=0,k=0,l=0;
        for(i=100;i<1000;i++)
        {
            j=i/100%10;
            k=i/10%10;
            l=i%10;

            if(i==j*j*j+k*k*k+l*l*l)
            {
                System.out.println(i);
            }

        }
    }
}
